package com.dtx.datastruct.huffmantree;

public class HuffmanTreeDemo {
    public static void main(String[] args) {
        HuffmanTree huffmanTree = new HuffmanTree();
        int arr[] = { 13, 7, 8, 3, 29, 6, 1 };
        Node root = huffmanTree.createHuffmanTree(arr);

        //测试一把
        huffmanTree.preOrder(root); //

    }
}
